package com.zaoniao.enstudy.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Schema(name = "修改词汇表入参对象")
public class VocabularyUpdDto {

    @Schema(description = "词汇表唯一标识Id", name = "vocabularyId")
    @NotBlank(message = "词汇表Id不能为空")
    private Integer vocabularyId;

    @Schema(description = "词汇表名称", name = "vocabularyName")
    @NotBlank(message = "词汇表名称不能为空")
    private String vocabularyName;
}
